package com.szw.dlyk.mapper;

import com.szw.dlyk.domain.Clue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.szw.dlyk.query.BaseQuery;
import com.szw.dlyk.result.NameValue;

import java.util.List;

/**
* @author asus
* @description 针对表【t_clue(线索表)】的数据库操作Mapper
* @createDate 2024-01-21 18:16:51
* @Entity com.szw.dlyk.domain.Clue
*/
public interface ClueMapper extends BaseMapper<Clue> {

    List<Clue> selectClueByPage(BaseQuery build);

    void saveClue(List<Clue> clueList);

    int selectByCount(String phone);

    int insertSelective(Clue clue);

    Clue selectDetailById(Integer id);

    int updateByPrimaryKeySelective(Clue clue);

    Clue selectByPrimaryKey(Integer clueId);

    Integer selectClueByCount();

    List<NameValue> selectBySource();
}




